package com.youlai.system.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import jakarta.validation.constraints.*;

/**
 * 机型管理表单对象
 *
 * @author youlai买国涛
 * @since 2024-11-05 16:30
 */
@Getter
@Setter
@Schema(description = "机型管理表单对象")
public class AirPlaneForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "机型ID")
    private Long planeId;

    @Schema(description = "机型名称")
    @NotBlank(message = "机型名称不能为空")
    @Size(max=255, message="机型名称长度不能超过255个字符")
    private String planeName;


}
